Automattic\Jetpack\Publicize\Publicize C

Total Complexity 109
Dependencies 8
Dependents 7
Total lines 779
Lines of code 429
Logical lines of code 216
Comment lines 262
Methods 34
Properties 2

Methods 34

Method Rating Maintainability Complexity Lines of code
get_all_connections_for_user()
A
46 15 36
display_connection_error()
A
41 10 61
get_connections()
A
56 8 18
test_connection()
S
49 6 29
get_post_share_status()
S
50 4 31
add_connection_test_results()
S
57 5 15
flag_post_for_publicize()
S
61 5 12
get_services()
S
53 4 24
set_post_flags()
S
58 4 16
refresh_connections()
S
58 4 16
admin_page_warning()
S
50 2 34
save_publicized()
S
64 4 9
globalization()
S
66 4 8
get_all_connections()
S
64 3 11
force_user_connection()
S
62 3 11
post_is_done_sharing()
S
67 3 7
admin_page_load()
S
68 3 6
get_connection_for_user()
S
67 3 8
receive_updated_publicize_connections()
S
65 2 9
globalize_connection()
S
66 2 8
unglobalize_connection()
S
66 2 8
disconnect_url()
S
79 1 3
get_connection()
S
91 1 2
__construct()
S
64 1 9
refresh_url()
S
79 1 3
connect_url()
S
79 1 3
clear_connections_transient()
S
81 1 3
add_disconnect_notice()
S
79 1 3
get_connection_meta()
S
76 1 4
get_connection_unique_id()
S
80 1 3
get_connection_id()
S
80 1 3
register_update_publicize_connections_xmlrpc_method()
S
68 1 8
disconnect()
S
78 1 3
display_disconnected()
S
72 1 5